package ar.republicagroup.gestion.services.impl;

import ar.republicagroup.gestion.dao.ClienteSaldoDAO;
import ar.republicagroup.gestion.entities.Cliente;
import ar.republicagroup.gestion.entities.ClienteSaldo;
import ar.republicagroup.gestion.services.ClienteSaldoServices;
import java.util.List;
/**
 *
 * @author DIEGOALV
 */
public class ClienteSaldoServicesImpl implements ClienteSaldoServices{
    
    ClienteSaldoDAO clienteSaldoDao;

    public void setClienteSaldoDao(ClienteSaldoDAO clienteSaldoDao) {
        this.clienteSaldoDao = clienteSaldoDao;
    }
 

    @Override
    public List<ClienteSaldo> findEntities() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public ClienteSaldo getSaldoActualByCliente(Cliente cliente) {
        return clienteSaldoDao.getSaldoActualByCliente(cliente);
    }

    @Override
    public String insert(ClienteSaldo nuevoSaldo) {
        return clienteSaldoDao.insert(nuevoSaldo);
    }
    
    
    
}
